package com.dmgis.hndz.pojo;

import cn.hutool.core.util.IdUtil;
import com.dmgis.hndz.common.utils.StringUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@ApiModel(value = "行政区树")
@EqualsAndHashCode(callSuper = true)
public class AreaTree extends TreeNode implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "行政区树名称")
    private String name;

    @ApiModelProperty(value = "行政区树编码")
    private String code;

    @ApiModelProperty(value = "单位类型")
    private String unitType;

    private boolean disabled;

    private String strId;

    private String uuid = IdUtil.simpleUUID();
}
